#!/bin/sh

start=0
for dev in `bwrm_vsuscan | awk -F ":" '{print $1}'`
do
	sects=`blockdev --getsz $dev`
	echo "$start $sects linear $dev 0"
	start=$(($start + $sects))
done
